<div class="pageContent">
	<form
	<?php foreach ($form->attrs() as $attr => $value): $value = h($value); echo "{$attr}=\"{$value}\" "; endforeach; ?>>
		<div class="pageFormContent" layoutH="60">
		<?php foreach ($form->elements() as $element):?>
			<p>
				<label style="width:120px" ><?php echo $element->_label?> </label>
				<?php echo Q::control($element->_ui, $element->id, $element->attrs());?>
				<?php if (!$element->isValid()):?>
				<span htmlfor="<?php echo $element->id?>" generated="true"
					class="error"><?php echo nl2br(h(implode("，", $element->errorMsg()))); ?>
				</span>
				<?php endif;?>
			</p>
			<?php endforeach;?>
			<p>格式:帐号,密码,金额,有效期天数,绑定电话[可选] 的文本文件</p>
			<p>例子:10000000,123456,10,120,138000000000(换行符)</p>
		</div>
		<div class="formBar">
			<ul>
				<li><div class="buttonActive">
						<div class="buttonContent">
							<button type="submit">提交</button>
						</div>
					</div></li>
				<li><div class="button">
						<div class="buttonContent">
							<button type="button" class="close">取消</button>
						</div>
					</div></li>
			</ul>
		</div>
	</form>
</div>